#include <csignal>
#include <unistd.h>
#include <iostream>

int main()
{
    std::signal(SIGINT, [](int){});
    std::cout << "before pause" << std::endl;
    pause();
    std::cout << "after pause" << std::endl;
    return 0;
}
